Related Vulnerabilities: CVE-2020-26571  

The gemsafe GPK smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init.

Severity Medium

Remote No

Type Arbitrary code execution

Description

The gemsafe GPK smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init.

AVG-1298 opensc 0.20.0-3 Medium Vulnerable

https://github.com/OpenSC/OpenSC/releases/tag/0.21.0
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20612
https://github.com/OpenSC/OpenSC/commit/ed55fcd2996930bf58b9bb57e9ba7b1f3a753c43
https://github.com/OpenSC/OpenSC/commit/f49162af0476723a0f72ca66c9ce6dd5bf38807d